package com.ahaoyou.init;

import com.ahaoyou.core.Configurator;
import com.ahaoyou.core.ConfiguratorFactory;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class ConfigInit {

    @PostConstruct
    public void init() {
        Configurator instance = ConfiguratorFactory.getInstance();
        System.out.println(instance);
    }
}